Number of subarrays having sum exactly equal to k